package com.ruoyi.tongban.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 孩子对象 ins_child
 * 
 * @author ruoyi
 * @date 2021-04-21
 */
public class InsChild extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 孩子id */
    private Long childId;

    /** 孩子名称 */
    @Excel(name = "孩子名称")
    private String childName;

    /** 孩子乳名 */
    @Excel(name = "孩子乳名")
    private String childInfantname;

    /** 孩子性别 */
    @Excel(name = "孩子性别")
    private Integer childSex;

    /** 孩子生日 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "孩子生日", width = 30, dateFormat = "yyyy-MM-dd")
    private Date childBirthday;

    /** 孩子身份证号 */
    @Excel(name = "孩子身份证号")
    private String childIdcard;

    /** 孩子头像;对应文件表sys_file中的file_id */
    @Excel(name = "孩子头像;对应文件表sys_file中的file_id")
    private String childHead;

    /** 民族 */
    @Excel(name = "民族")
    private String nation;

    /** 油田类型 */
    @Excel(name = "油田类型")
    private Integer isOilField;

    /** 第一联系人电话 */
    @Excel(name = "第一联系人电话")
    private String firscontacts;

    /** 第一联系人名称 */
    @Excel(name = "第一联系人名称")
    private String firscontactsName;

    /** 第二联系人电话 */
    @Excel(name = "第二联系人电话")
    private String secondContacts;

    /** 第二联系人名称 */
    @Excel(name = "第二联系人名称")
    private String secondContactsName;

    /** 入园时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "入园时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date joinTime;

    /** 孩子状态:对应字典表sys_dictionary中的Status类型 */
    @Excel(name = "孩子状态:对应字典表sys_dictionary中的Status类型")
    private Integer status;

    /** 考勤机是否拉去:对应字典表sys_dictionary中的IsNot类型 */
    @Excel(name = "考勤机是否拉去:对应字典表sys_dictionary中的IsNot类型")
    private Integer isUpdate;

    /** 记录状态:对应字典表sys_dictionary中的RecordStatus类型 */
    @Excel(name = "记录状态:对应字典表sys_dictionary中的RecordStatus类型")
    private Integer recordStatus;

    /** $column.columnComment */
    @Excel(name = "记录状态:对应字典表sys_dictionary中的RecordStatus类型")
    private Long createUser;

    /** $column.columnComment */
    @Excel(name = "记录状态:对应字典表sys_dictionary中的RecordStatus类型")
    private Long updateUser;

    //机构Id
    private Long institutionId;

    //机构名称
    @Excel(name = "机构名称")
    private String institutionName;

    //年级Id
    private Long gradeId;

    //年级名称
    @Excel(name = "年级名称")
    private String gradeName;

    //班级Id
    private Long classId;

    //班级名称
    @Excel(name = "年级名称")
    private String className;

    /** 二维码 */
    private String guid;
    
    private Date signIn;//签到数据
    
    private Date signOut;//签退数据
    
    private String image;//孩子人脸识别头像
    
    public String getImage() {
        return image;
    }
    
    public void setImage(String image) {
        this.image = image;
    }
    
    public Date getSignIn() {
        return signIn;
    }
    
    public void setSignIn(Date signIn) {
        this.signIn = signIn;
    }
    
    public Date getSignOut() {
        return signOut;
    }
    
    public void setSignOut(Date signOut) {
        this.signOut = signOut;
    }
    
    public void setChildId(Long childId)
    {
        this.childId = childId;
    }

    public Long getChildId() 
    {
        return childId;
    }
    public void setChildName(String childName) 
    {
        this.childName = childName;
    }

    public String getChildName() 
    {
        return childName;
    }
    public void setChildInfantname(String childInfantname) 
    {
        this.childInfantname = childInfantname;
    }

    public String getChildInfantname() 
    {
        return childInfantname;
    }
    public void setChildSex(Integer childSex) 
    {
        this.childSex = childSex;
    }

    public Integer getChildSex() 
    {
        return childSex;
    }
    public void setChildBirthday(Date childBirthday) 
    {
        this.childBirthday = childBirthday;
    }

    public Date getChildBirthday() 
    {
        return childBirthday;
    }
    public void setChildIdcard(String childIdcard) 
    {
        this.childIdcard = childIdcard;
    }

    public String getChildIdcard() 
    {
        return childIdcard;
    }
    public void setChildHead(String childHead) 
    {
        this.childHead = childHead;
    }

    public String getChildHead() 
    {
        return childHead;
    }
    public void setNation(String nation) 
    {
        this.nation = nation;
    }

    public String getNation() 
    {
        return nation;
    }
    public Integer getIsOilField() { return isOilField; }

    public void setIsOilField(Integer isOilField) { this.isOilField = isOilField; }
    public void setFirscontacts(String firscontacts)
    {
        this.firscontacts = firscontacts;
    }

    public String getFirscontacts() 
    {
        return firscontacts;
    }
    public void setFirscontactsName(String firscontactsName) 
    {
        this.firscontactsName = firscontactsName;
    }

    public String getFirscontactsName() 
    {
        return firscontactsName;
    }
    public void setSecondContacts(String secondContacts) 
    {
        this.secondContacts = secondContacts;
    }

    public String getSecondContacts() 
    {
        return secondContacts;
    }
    public void setSecondContactsName(String secondContactsName) 
    {
        this.secondContactsName = secondContactsName;
    }

    public String getSecondContactsName() 
    {
        return secondContactsName;
    }
    public void setJoinTime(Date joinTime) 
    {
        this.joinTime = joinTime;
    }

    public Date getJoinTime() 
    {
        return joinTime;
    }
    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }
    public void setIsUpdate(Integer isUpdate) 
    {
        this.isUpdate = isUpdate;
    }

    public Integer getIsUpdate() 
    {
        return isUpdate;
    }
    public void setRecordStatus(Integer recordStatus) 
    {
        this.recordStatus = recordStatus;
    }

    public Integer getRecordStatus() 
    {
        return recordStatus;
    }
    public void setCreateUser(Long createUser) 
    {
        this.createUser = createUser;
    }

    public Long getCreateUser() 
    {
        return createUser;
    }
    public void setUpdateUser(Long updateUser) 
    {
        this.updateUser = updateUser;
    }

    public Long getUpdateUser() 
    {
        return updateUser;
    }
    public void setGuid(String guid) 
    {
        this.guid = guid;
    }

    public String getGuid() 
    {
        return guid;
    }

    public Long getInstitutionId() {
        return institutionId;
    }

    public void setInstitutionId(Long institutionId) {
        this.institutionId = institutionId;
    }

    public String getInstitutionName() {
        return institutionName;
    }

    public void setInstitutionName(String institutionName) {
        this.institutionName = institutionName;
    }

    public Long getGradeId() {
        return gradeId;
    }

    public void setGradeId(Long gradeId) {
        this.gradeId = gradeId;
    }

    public String getGradeName() {
        return gradeName;
    }

    public void setGradeName(String gradeName) {
        this.gradeName = gradeName;
    }

    public Long getClassId() {
        return classId;
    }

    public void setClassId(Long classId) {
        this.classId = classId;
    }

    public String getClassName() {
        return className;
    }

    public void setClassName(String className) {
        this.className = className;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("childId", getChildId())
            .append("childName", getChildName())
            .append("childInfantname", getChildInfantname())
            .append("childSex", getChildSex())
            .append("childBirthday", getChildBirthday())
            .append("childIdcard", getChildIdcard())
            .append("childHead", getChildHead())
            .append("nation", getNation())
            .append("isOilField", getIsOilField())
            .append("firscontacts", getFirscontacts())
            .append("firscontactsName", getFirscontactsName())
            .append("secondContacts", getSecondContacts())
            .append("secondContactsName", getSecondContactsName())
            .append("joinTime", getJoinTime())
            .append("status", getStatus())
            .append("isUpdate", getIsUpdate())
            .append("recordStatus", getRecordStatus())
            .append("createTime", getCreateTime())
            .append("createUser", getCreateUser())
            .append("updateTime", getUpdateTime())
            .append("updateUser", getUpdateUser())
            .append("guid", getGuid())
            .toString();
    }
}
